import type { TagType } from 'vant'

interface listItem {
  value: string
  label: string
  type: TagType
}

export const taskActiveList: listItem[] = [
  {
    value: '0',
    label: '新客户',
    type: 'warning'
  },
  {
    value: '1',
    label: '待回访',
    type: 'warning'
  },
  {
    value: '2',
    label: '二访',
    type: 'warning'
  },
  {
    value: '3',
    label: '未接通',
    type: 'warning'
  },
  {
    value: '4',
    label: '可上门',
    type: 'warning'
  },
  {
    value: '5',
    label: '已上门',
    type: 'warning'
  },
  {
    value: '6',
    label: '无意向',
    type: 'warning'
  }
]

export const isActiveList: listItem[] = [
  {
    value: '0',
    label: '未成交',
    type: 'success'
  },
  {
    value: '1',
    label: '待成交',
    type: 'warning'
  },
  {
    value: '2',
    label: '已成交',
    type: 'warning'
  },
  {
    value: '3',
    label: '需注销',
    type: 'warning'
  }
]

export const isUrgentList: listItem[] = [
  {
    value: '0',
    label: '普通',
    type: 'primary'
  },
  {
    value: '1',
    label: '加急',
    type: 'danger'
  },
  {
    value: '2',
    label: '当日加急',
    type: 'danger'
  }
]

export const isCallList: listItem[] = [
  {
    label: '正常',
    value: '0'
  },
  {
    label: '急需处理',
    value: '1'
  },
  {
    label: '已超时',
    value: '2'
  }
]
